<div>
    <div class="row ">
        <div class="col-md-2" style="padding-right:0px">
            <vc:create path="frame/dataPrivilegeDiv" callBackListener="dataPrivilege"></vc:create>
        </div>
        <div class="col-md-10 margin-top-xs vc-org-page">
            <div class="bg-white border-radius padding">
                <h5 class="role-title">{{dataPrivilegeManageInfo.curDataPrivilege.name}}</h5>
                <div class="role-context ">{{dataPrivilegeManageInfo.curDataPrivilege.description}}</div>
                <div class="line-x margin-top"></div>
                <div class="role-menu flex justify-start">
                    <div class="item margin-right" :class="{'active':dataPrivilegeManageInfo.tabName == 'unit'}"
                         @click="_changeDataPrivilegeTab('unit')">单元授权
                    </div>
                    <div class="item margin-right" :class="{'active':dataPrivilegeManageInfo.tabName == 'staff'}"
                         @click="_changeDataPrivilegeTab('staff')">员工关联
                    </div>
                </div>
                <div v-if="dataPrivilegeManageInfo.tabName == 'unit' ">
                    <vc:create path="frame/dataPrivilegeUnit"></vc:create>
                </div>
                <div v-if="dataPrivilegeManageInfo.tabName == 'staff'">
                    <vc:create path="frame/dataPrivilegeStaff"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>